<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		.one{
			position: fixed;
			right:30px;
			width:100px;
			height: 100px;
			background: red;
			
		}
		.two{
			width: 130px;
			height: 100px;
			background: #333;

		}
		span{
			position: fixed;
			height:100px;
			width:100px;
			background: red;
		}
	</style>
</head>
<body>
	<div class="one"></div>
	<div class="two"></div>
	<span>文字</span>
</body>
</html>